﻿using Best.SmartCms.Dto.Response;

namespace Best.SmartCms.Service.BizException
{
    /// <summary>
    /// 对象不存在异常
    /// </summary>
    public class ObjectNotFoundException : BizExceptionBase
    {
        /// <summary>
        /// 错误码
        /// </summary>
        public override ResponseCode ExceptionCode => ResponseCode.NotFoundError;
        /// <summary>
        /// 
        /// </summary>
        public ObjectNotFoundException()
        { }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="msg"></param>
        public ObjectNotFoundException(string msg) : base(msg)
        {
            
        }
    }
}
